using UnityEngine;
using System.Collections;

public class PrefabHandler : MonoBehaviour {
	
	public GameObject[] Prefabs;
	
	public GameObject getPrefabByType(int i){
		int selection = i-1;
		if(selection>Prefabs.Length){
				return null;
			}
		return Prefabs[selection];
	}

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
